package login;

import com.google.gdata.client.GoogleService;
import com.google.gdata.util.AuthenticationException;
import java.io.IOException;



public class Login {  // ?: do we perhaps want to extend the GoogleService class to bend it to our purposes a bit more?

    // READ THIS/////////////////////////////////////////////////////////
    /** @todo
     *    this Login class should, optimally, read in from either a file
     *    written by LoginPanel.java or directly from that class itself
     *         -- just my idea ( dylan )
     */
    public Login() {
    }

    public static void login(GoogleService myService, String userName,
            String userPassword) throws AuthenticationException {

        // Authenticate using ClientLogin
        myService.setUserCredentials(userName, userPassword);
    }

}
